package com.todo.user.iface.frontend;


import com.todo.common.common.entity.response.BizResponse;
import com.todo.common.common.entity.response.page.PageResult;
import com.todo.user.iface.frontend.request.QueryOtherUserDetailParam;
import com.todo.user.iface.frontend.request.SaveUserRelationParam;
import com.todo.user.iface.frontend.request.UserRelationListParam;
import com.todo.user.iface.frontend.response.BaseUserDetailVO;
import com.todo.user.iface.frontend.response.UserRelationVO;

/**
 * @author zhangwenxiang
 * @date 2024/4/8 23:59
 * @description
 */
public interface UserBaseFrontendIface {

    /**
     * 浏览其他用户信息详情
     *
     * @param param
     * @return
     */
    BizResponse<BaseUserDetailVO> queryOtherUserInfoDetail(QueryOtherUserDetailParam param);

    /**
     * 新增用户关联信息
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> saveUserRelation(SaveUserRelationParam param);

    /**
     * 查询用户关联信息列表
     *
     * @param param
     * @return
     */
    PageResult<UserRelationVO> queryUserRelationList(UserRelationListParam param);

}
